package com.sxy.config;

import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 宋鑫宇
 * @version 1.0
 */
@Configuration
@ComponentScan({"com.sxy.service","com.sxy.aop"})
@PropertySource("classpath:jdbc.properties")
//声明使用注解开发aop
@EnableAspectJAutoProxy
@Import({JdbcConfig.class,MybatisConfig.class})
//声明开启事务
@EnableTransactionManagement
public class SpringConfig {

}
